const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    lintOnSave: false,
//   处理跨域问题
    devServer: {
        port: 8888,   // 设置项目默认的端口号  /user/captcha
        proxy: {
            '/api': {
                target: 'http://localhost:9090/kgc',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': ''
                }
            }
        }
    }
})
